home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re creating new windows.2 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  944 b   |  [TEXT/ttxt]

  1. Subject:     Re: creating new windows
  2. Sent:        3/19/96 7:52 AM
  3. Received:    3/19/96 7:02 AM
  4. From:        ScottODF@aol.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Henri,
  9.  
  10. Your tip:
  11.  
  12. >>Look into FW_CFrame::NewPartWindow
  13.  
  14. worked just fine. Now I found that if I pass an ODFrame as the parent frame,
  15. when I close the parent frame's window, both windows are closed and OpenDoc
  16. quits. If I pass NULL for the parent frame, I have to close both windows to
  17. quit the OpenDoc part. The previous behavior is preferred. However, because I
  18. am creating a frame with a different presentation from the parent's frame, I
  19. get a user break with: FW_ASSERT(fPresentation ==
  20. sourceFrame->GetPresentation(ev));
  21.  
  22. I would like this "linked" behavior regardless of presentations, but this
  23. assertion in ODF is a problem. What do you think?
  24.  
  25. Thanks,
  26. Scott Daniels
  27. e-mail: scottdfl@aol.com
  28.